import Layout from "@/layout";
export default {
  path: "/order",
  redirect:'/order/workorder1',
  component: Layout,
  meta: { title: "工单管理", icon: "tree" },
  children: [
    {
      name: 'workorder1',
      path: '/workorder/workorder1',
      component: () => import('@/views/order/orderone'),
      meta: {
        title: '运营工单',
        icon: 'example'
      }
    },
    {
      name: 'workorder2',
      path: '/workorder/workorder2',
      component: () => import('@/views/order/ordertwo'),
      meta: {
        title: '运维工单',
        icon: 'eye-open'
      }
    }
  ]
};
// export default {
//   name: 'workorder',
//   path: '/workorder',
//   component: Layout,
//   redirect: '/workorder/workorder1',
//   meta: { title: '工单管理', icon: 'user' },
  // children: [
  //   {
  //     name: 'workorder1',
  //     path: '/workorder/workorder1',
  //     component: () => import('@/views/workOrder/workOrder1'),
  //     meta: {
  //       title: '运营工单',
  //       icon: 'example'
  //     }
  //   },
  //   {
  //     name: 'workorder2',
  //     path: '/workorder/workorder2',
  //     component: () => import('@/views/workOrder/workOrder2'),
  //     meta: {
  //       title: '运维工单',
  //       icon: 'eye-open'
  //     }
  //   }
  // ]
// }

